package seqAlignment.utils;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class AlignmentStrings {
	File sourceFile;
	BufferedReader reader;
	String string1,string2;
	
	public void setFile(File file) throws IOException {
		sourceFile = file;
		reader = new BufferedReader(new FileReader(sourceFile));
		init();
	}

	protected void init() throws IOException {
		string1 = reader.readLine();
		reader.readLine();
		string2 = reader.readLine();
		reader.close();
	}

	public String getString1() {
		return string1;
	}
	
	public String getString2() {
		return string2;
	}
}
